package com.cskaoyan.mall.service;

import com.cskaoyan.mall.model.bo.AdminLoginBO;
import com.cskaoyan.mall.model.sql.User;
import com.cskaoyan.mall.model.vo.OrderByStateVO;
import com.cskaoyan.mall.model.vo.UserSignUpVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface UserService {
    List<User> allUser(HttpServletRequest request, HttpServletResponse response);

    void deleteUser(String id);

    List<User> searchUser(String word);

    UserSignUpVO signup(User user);

    String login(AdminLoginBO userLogin);

    List<OrderByStateVO> getOrderByState(String state, String token);
}
